﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL.Model.Bank;
using BLL.Model.Repositories;

namespace BLL.Model.Voucher
{
    public class TransactionInCheque : Record
    {
        public ChequeInfo ChequeInfo;

        public TransactionInCheque(IRecordRepository recordRepository) : base(recordRepository)
        {
        }

        public override string LedgerType
        {
            get { return "BankBook"; }
        }

        public override bool Save()
        {
            return RecordRepository.InsertBankBookRow(this);
        }
    }
}
